﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="Com.Rivyer.Web.login" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>欢迎使用信息科后台管理平台</title>
    <link href="./css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body
        {
            overflow: hidden;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td bgcolor="#1075b1">
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td height="608" background="./images/login_03.gif">
                    <table width="847" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td height="318" background="./images/login_04.gif">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td height="84">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td width="381" height="84" background="./images/login_06.gif">
                                            &nbsp;
                                        </td>
                                        <td width="162" valign="middle" background="./images/login_07.gif">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td width="44" height="24" valign="top">
                                                        <div align="right">
                                                            <span class="STYLE3">用户：</span></div>
                                                    </td>
                                                    <td width="10" valign="bottom">
                                                        &nbsp;
                                                    </td>
                                                    <td height="24" colspan="2" valign="top">
                                                        <div align="left">
                                                            <dx:ASPxTextBox ID="username" runat="server" CssClass="inputbox" EnableClientSideAPI="True"
                                                                NullText="请输入用户名">
                                                                <ValidationSettings ErrorDisplayMode="ImageWithTooltip" ErrorText="用户名不能为空!" Display="Dynamic">
                                                                </ValidationSettings>
                                                                <ClientSideEvents Validation="function(s, e) {
	var username = e.value;
	if(username == null || username.length == 0)
	{
		e.isValid = false;
	}
}" />
                                                            </dx:ASPxTextBox>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="24" valign="top">
                                                        <div align="right">
                                                            <span class="STYLE3">密码：</span></div>
                                                    </td>
                                                    <td width="10" valign="bottom">
                                                        &nbsp;
                                                    </td>
                                                    <td height="24" valign="top" colspan="2">
                                                        <dx:ASPxTextBox ID="userpwd" runat="server" CssClass="inputbox" EnableClientSideAPI="true"
                                                            Password="true">
                                                            <ValidationSettings ErrorDisplayMode="ImageWithTooltip" ErrorText="密码不能为空!" Display="Dynamic">
                                                                <RequiredField ErrorText="密码不能为空!" IsRequired="true" />
                                                            </ValidationSettings>
                                                        </dx:ASPxTextBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="26">
                                            <img src="./images/login_08.gif" width="26" height="84">
                                        </td>
                                        <td width="67" background="./images/login_09.gif">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td height="25">
                                                        <div align="center">
                                                            <dx:ASPxButton ID="btn_login" runat="server" Text="登录" CssClass="login" OnClick="btn_login_Click">
                                                            </dx:ASPxButton>
                                                        </div>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td height="25">
                                                        <div align="center">
                                                            <dx:ASPxButton ID="btn_clear" runat="server" Text="重置" CssClass="login" OnClick="btn_clear_Click">
                                                            </dx:ASPxButton>
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="211" background="./images/login_10.gif">
                                            &nbsp;
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td height="206" background="./images/login_11.gif">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td bgcolor="#152753">
                    &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
